/**
 * 27/12/2013
 * 
 * GameSounds
 * 
 * Copyright GPL
 */
package com.jtmproject;

import com.badlogic.gdx.audio.Sound;

/**
 * This sets the sounds of the game
 * 
 * @author Javier Tejedor
 */
public class GameSounds {
	
	private static Sound soundHitBall;
	private static Sound soundLost;
	
	/**
	 * set the sounds
	 */
	public static void setSounds(){
		soundHitBall = GameValues.HIT_BALL_SOUND;
		soundLost = GameValues.LOST_SOUND;
	}

	/**
	 * play the hit's sound
	 */
	public static void playSoundHitBall(){
		soundHitBall.play(1.0f);
	}
	
	/**
	 * play the lost's sound
	 */
	public static void playSoundLost(){
		soundLost.play(1.0f);
	}
	
}
